#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QtGui/QMainWindow>
#include <QFileDialog>
#include <QPixmap>
#include <QImage>
#include "pic.h"
namespace Ui
{
    class MainWindow;
}

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    MainWindow(QWidget *parent = 0);
    ~MainWindow();
signals:
    void sigready(bool);
private:
    Ui::MainWindow *ui;
    void loadimg(QString );
    void init();
    Pic *cent;
private slots:
    void on_action_Open_triggered();
};

#endif // MAINWINDOW_H
